package com.example.http.websocket;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用于页面跳转的接口层
 *
 * @author zhouxl
 * @DATE 2021/1/29
 * @descriptoin
 */
@Controller
@RequestMapping("/api/websocket")
public class Level3Controller {

    @RequestMapping("level1")
    public String level1Page() {
        return "websocket/websocket_level1";
    }

    @RequestMapping("level2")
    public String level2Page() {
        return "websocket/websocket_level2";
    }

}
